um\core\User D

Total Complexity 242
Dependencies 2
Dependents 2
Total lines 2,176
Lines of code 894
Logical lines of code 568
Comment lines 926
Methods 55
Properties 1

Methods 55

Method Rating Maintainability Complexity Lines of code
set()
C
36 24 76
generate_profile_slug()
B
38 18 68
on_update_usermeta()
B
42 18 53
on_delete_usermeta()
B
42 17 57
secondary_role_field()
A
42 14 52
update_profile()
A
47 9 36
is_profile_noindex()
A
54 10 20
set_registration_details()
S
51 7 26
profile_update()
S
55 6 19
user_has_metadata()
S
55 6 18
user_exists_by_name()
S
45 4 47
__construct()
S
41 3 58
delete()
S
57 5 17
profile_form_additional_section()
S
64 6 9
get_cached_data()
S
60 5 14
user_register_via_admin()
S
59 5 14
add_um_role_wpmu_new_user()
S
62 5 11
add_um_role_existing_user()
S
62 5 11
approve()
S
54 4 21
delete_user_handler()
S
56 4 17
clean()
S
65 5 9
toArray()
S
60 4 14
get_profile_slug()
S
61 4 13
get_role()
S
63 4 11
get_pending_users_count()
S
53 3 23
check_membership()
S
61 3 13
get_admin_actions()
S
60 3 12
assign_secretkey()
S
62 3 11
is_approved()
S
68 3 7
is_private_profile()
S
67 3 7
set_gravatar()
S
63 2 11
user_exists_by_id()
S
68 2 8
user_exists_by_email_as_username()
S
66 2 8
setup_cache()
S
68 2 7
maybe_generate_password_reset_key()
S
72 2 6
get_profile_link()
S
69 2 7
is_private_case()
S
66 2 8
add_activation_placeholder()
S
77 1 4
update_files()
S
80 1 3
set_status()
S
68 1 7
delete_meta()
S
80 1 3
update_usermeta_info()
S
75 1 4
deactivate()
S
72 1 5
reject()
S
76 1 4
pending()
S
76 1 4
email_pending()
S
73 1 5
password_changed()
S
79 1 3
password_reset()
S
67 1 7
set_last_login()
S
79 1 3
auto_login()
S
70 1 6
reset()
S
80 1 3
remove_cache_all_users()
S
76 1 4
remove_cache()
S
80 1 3
remove_cached_queue()
S
82 1 3
add_activation_replace_placeholder()
S
76 1 4